-- GENERATED SPELL FOR [Parched Hydra] --


function spell0_20324(pUnit, Event) --@Heat Wave,Self--
pUnit:FullCastSpellOnTarget(35236,pUnit)
pUnit:RegisterEvent('Sorts_20324', 9000, 1)
end

function Sorts_20324(pUnit, Event)
local choix_sorts_20324 = math.random(0, 0)
if choix_sorts_20324 == 0 then
pUnit:RegisterEvent('spell0_20324', 1, 1)
end
end

function mob20324_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_20324', math.random(1500, 3000), 1)
end

function mob20324_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20324_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob20324_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(20324, 1, 'mob20324_Action')
RegisterUnitEvent(20324, 2, 'mob20324_Leave')
RegisterUnitEvent(20324, 3, 'mob20324_Kill')
RegisterUnitEvent(20324, 4, 'mob20324_Die')
